<?php
namespace plugins\file_manage\controller;

use cmf\controller\PluginAdminBaseController;//引入此类
use think\Db;

class AdminIndexController extends PluginAdminBaseController
{

    protected function _initialize()
    {
        parent::_initialize();
        $adminId = cmf_get_current_admin_id();//获取后台管理员id，可判断是否登录
        if (!empty($adminId)) {
            $this->assign("admin_id", $adminId);
        }
    }

    public function index(){
        return $this->fetch();
    }


}
